/*
 * @Copyright: Copyright (c) 2030 吴周海
 * @Author: wzh200x@126.com
 * @Date: 2025-10-15 11:22:29
 * @LastEditors: wzh200x@126.com
 * @LastEditTime: 2025-10-15 13:59:00
 * @FilePath: \gogamewebserver\goGameWebServer\api\cdkey\cdkey.go
 * @Description: 文件功能描述
 */
package cdkey

import (
	"context"
	v1 "goGameWebServer/api/cdkey/v1"
)

type ICdKeyV1 interface {
	QueryGroup(ctx context.Context, req *v1.CdKeyGroupQueryReq) (res *v1.CdKeyGroupQueryRes, err error)
	UpdateGroup(ctx context.Context, req *v1.CdKeyGroupUpdateReq) (res *v1.CdKeyGroupUpdateRes, err error)
	Add(ctx context.Context, req *v1.CdKeyAddReq) (res *v1.CdKeyAddRes, err error)
	Query(ctx context.Context, req *v1.CdKeyQueryReq) (res *v1.CdKeyQueryRes, err error)
}

type ICdKeyV1Private interface {
	Use(ctx context.Context, req *v1.CdKeyUseReq) (res *v1.CdKeyUseRes, err error)
}
